package com.sxj.corejava.code08_常用类.枚举;

/**
 * @author 石小俊
 * @date 2025年02月18日
 */
public class Sport {
    private String name;    // 运动名
    // private String season;  // 季节,该运动适合什么季节
    private Season season;

    public Sport(String name, Season season) {
        this.name = name;
        this.season = season;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Season getSeason() {
        return season;
    }

    public void setSeason(Season season) {
        this.season = season;
    }
}
